<?php
namespace haibao\cms\business\attendance;

Class AttendanceStatistics extends \haibao\cms\business\Base{
	
	public static function getListByFilter($filter,$isOne = true){
		$data = new \haibao\cms\data\attendance\AttendanceStatistics();
		if($isOne){
			return $data->getOne($filter);
		}else{
			return $data->getAll($filter);
		}
	}
	
	public static function delAttendanceStatistics($jobNum,$cycle){
		$data = new \haibao\cms\data\attendance\AttendanceStatistics();
		$data->delAttendanceStatistics($jobNum, $cycle);
	}
}
